<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/2/11
 * Time: 12:04
 */

namespace Kordar\Tree;

class GroupHeap extends \SplHeap
{
    public function compare($value1, $value2)
    {
        return $value1->data['sort'] - $value2->data['sort'];
    }
}